package com.prs.crm.service.sys.impl;

import java.util.Collection;

import com.prs.crm.dao.sys.MailAddressDao;
import com.prs.crm.domain.sys.MailAddress;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.sys.MailAddressService;

public class MailAddressServiceImpl extends BaseServiceImpl<MailAddress,MailAddressDao> implements MailAddressService{

	public  MailAddress findByAddr(String addr)
	{
		return this.getDao().findByAddr(addr);
	}
	
	public Collection<MailAddress> getAllAddress()
	{
		return this.getDao().getAllAddress();
	}
}
